<%@ page language="java" pageEncoding="utf-8"%>
<%
Integer id = (Integer)session.getAttribute("uid");

if (id == null || id < 1) {
    out.print("<SCRIPT language=JavaScript>alert('操作超时，请重新登录！');");
    out.print("this.location.href='./login.jsp';</SCRIPT>");

    return;
}
%>